package a.i;

public abstract class b
  implements jb
{
  protected Class a;
  public static int b;
  
  protected b(Class paramClass)
  {
    this.a = paramClass;
  }
  
  public Object a(String paramString, Class paramClass)
    throws IllegalArgumentException
  {
    boolean bool = p.b;
    if (paramString == null) {
      return null;
    }
    if (!bool) {
      if (paramClass == null) {
        throw new NullPointerException("Must provide asClass argument!");
      }
    }
    if (!bool) {
      if (!this.a.isAssignableFrom(paramClass)) {
        throw new IllegalArgumentException(this + " cannot parse " + paramString + " as " + paramClass);
      }
    }
    return a(paramString);
  }
  
  public String a(Object paramObject, Class paramClass)
    throws IllegalArgumentException
  {
    boolean bool = p.b;
    if (paramObject == null) {
      return null;
    }
    if (!bool)
    {
      if (paramClass == null) {
        throw new NullPointerException("Must provide asClass argument!");
      }
      if (bool) {}
    }
    else if (!this.a.isAssignableFrom(paramClass))
    {
      throw new IllegalArgumentException(this + " cannot serializer " + paramObject + " as " + paramClass);
    }
    return a(paramObject);
  }
  
  protected abstract Object a(String paramString)
    throws IllegalArgumentException;
  
  protected abstract String a(Object paramObject)
    throws IllegalArgumentException;
}


/* Location:           E:\idea\
 * Qualified Name:     a.i.b
 * JD-Core Version:    0.7.0.1
 */